Optimal. Leaf size=71 \[ \frac {2 c d \left (c d^2-a e^2\right )}{e^3 (d+e x)}-\frac {\left (c d^2-a e^2\right )^2}{2 e^3 (d+e x)^2}+\frac {c^2 d^2 \log (d+e x)}{e^3} \]
________________________________________________________________________________________
Rubi [A] time = 0.05, antiderivative size = 71, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 35, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.057, Rules used = {626, 43} \begin {gather*} \frac {2 c d \left (c d^2-a e^2\right )}{e^3 (d+e x)}-\frac {\left (c d^2-a e^2\right )^2}{2 e^3 (d+e x)^2}+\frac {c^2 d^2 \log (d+e x)}{e^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 43
Rule 626
Rubi steps
\begin {align*} \int \frac {\left (a d e+\left (c d^2+a e^2\right ) x+c d e x^2\right )^2}{(d+e x)^5} \, dx &=\int \frac {(a e+c d x)^2}{(d+e x)^3} \, dx\\ &=\int \left (\frac {\left (-c d^2+a e^2\right )^2}{e^2 (d+e x)^3}-\frac {2 c d \left (c d^2-a e^2\right )}{e^2 (d+e x)^2}+\frac {c^2 d^2}{e^2 (d+e x)}\right ) \, dx\\ &=-\frac {\left (c d^2-a e^2\right )^2}{2 e^3 (d+e x)^2}+\frac {2 c d \left (c d^2-a e^2\right )}{e^3 (d+e x)}+\frac {c^2 d^2 \log (d+e x)}{e^3}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.03, size = 59, normalized size = 0.83 \begin {gather*} \frac {\frac {\left (c d^2-a e^2\right ) \left (a e^2+c d (3 d+4 e x)\right )}{(d+e x)^2}+2 c^2 d^2 \log (d+e x)}{2 e^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (a d e+\left (c d^2+a e^2\right ) x+c d e x^2\right )^2}{(d+e x)^5} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.40, size = 112, normalized size = 1.58 \begin {gather*} \frac {3 \, c^{2} d^{4} - 2 \, a c d^{2} e^{2} - a^{2} e^{4} + 4 \, {\left (c^{2} d^{3} e - a c d e^{3}\right )} x + 2 \, {\left (c^{2} d^{2} e^{2} x^{2} + 2 \, c^{2} d^{3} e x + c^{2} d^{4}\right )} \log \left (e x + d\right )}{2 \, {\left (e^{5} x^{2} + 2 \, d e^{4} x + d^{2} e^{3}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.25, size = 118, normalized size = 1.66 \begin {gather*} -c^{2} d^{2} e^{\left (-3\right )} \log \left (\frac {{\left | x e + d \right |} e^{\left (-1\right )}}{{\left (x e + d\right )}^{2}}\right ) + \frac {1}{2} \, {\left (\frac {4 \, c^{2} d^{3} e^{9}}{x e + d} - \frac {c^{2} d^{4} e^{9}}{{\left (x e + d\right )}^{2}} - \frac {4 \, a c d e^{11}}{x e + d} + \frac {2 \, a c d^{2} e^{11}}{{\left (x e + d\right )}^{2}} - \frac {a^{2} e^{13}}{{\left (x e + d\right )}^{2}}\right )} e^{\left (-12\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.05, size = 98, normalized size = 1.38 \begin {gather*} -\frac {a^{2} e}{2 \left (e x +d \right )^{2}}+\frac {a c \,d^{2}}{\left (e x +d \right )^{2} e}-\frac {c^{2} d^{4}}{2 \left (e x +d \right )^{2} e^{3}}-\frac {2 a c d}{\left (e x +d \right ) e}+\frac {2 c^{2} d^{3}}{\left (e x +d \right ) e^{3}}+\frac {c^{2} d^{2} \ln \left (e x +d \right )}{e^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.06, size = 90, normalized size = 1.27 \begin {gather*} \frac {c^{2} d^{2} \log \left (e x + d\right )}{e^{3}} + \frac {3 \, c^{2} d^{4} - 2 \, a c d^{2} e^{2} - a^{2} e^{4} + 4 \, {\left (c^{2} d^{3} e - a c d e^{3}\right )} x}{2 \, {\left (e^{5} x^{2} + 2 \, d e^{4} x + d^{2} e^{3}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.60, size = 89, normalized size = 1.25 \begin {gather*} \frac {c^2\,d^2\,\ln \left (d+e\,x\right )}{e^3}-\frac {\frac {a^2\,e^4+2\,a\,c\,d^2\,e^2-3\,c^2\,d^4}{2\,e^3}+\frac {2\,c\,d\,x\,\left (a\,e^2-c\,d^2\right )}{e^2}}{d^2+2\,d\,e\,x+e^2\,x^2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.56, size = 90, normalized size = 1.27 \begin {gather*} \frac {c^{2} d^{2} \log {\left (d + e x \right )}}{e^{3}} + \frac {- a^{2} e^{4} - 2 a c d^{2} e^{2} + 3 c^{2} d^{4} + x \left (- 4 a c d e^{3} + 4 c^{2} d^{3} e\right )}{2 d^{2} e^{3} + 4 d e^{4} x + 2 e^{5} x^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________